<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>AdminLTE 2 | Starter</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/bootstrap/dist/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/Ionicons/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
        page. However, you can choose any other skin. Make sure you
        apply the skin class to the body tag so the changes take effect. -->
    <link rel="stylesheet" href="/dist/css/skins/skin-blue.min.css">


    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

    <!-- Google Font -->
    <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
| SKINS         | skin-blue                               |
|               | skin-black                              |
|               | skin-purple                             |
|               | skin-yellow                             |
|               | skin-red                                |
|               | skin-green                              |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed                                   |
|               | layout-boxed                            |
|               | layout-top-nav                          |
|               | sidebar-collapse                        |
|               | sidebar-mini                            |
|---------------------------------------------------------|
-->

<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">

        <!-- Main Header -->
        <%- include("./header.ejs") %>
        <!-- Left side column. contains the logo and sidebar -->

        <%- include("./menus.ejs") %>

        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>
                    商品管理
                    <!-- Page Header
          <small>Optional description</small> -->
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
                    <li class="active">Here</li>
                </ol>
            </section>

            <!-- Main content -->
            <section class="content container-fluid">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title">添加商品</h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal" action="/pro/updateAction" method="POST">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="proid" class="col-sm-2 control-label">商品id</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= proid %>" name="proid" id="proid"
                                        placeholder="商品id" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="proname" class="col-sm-2 control-label">商品名称</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= proname %>" name="proname"
                                        id="proname" placeholder="商品名称">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="proimg" class="col-sm-2 control-label">商品图片</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= proimg %>" name="proimg"
                                        id="proimg" placeholder="商品图片">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="prokind" class="col-sm-2 control-label">商品分类</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= prokind %>" name="prokind"
                                        id="prokind" placeholder="商品分类">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="brand" class="col-sm-2 control-label">品牌</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= brand %>" name="brand" id="brand"
                                        placeholder="品牌">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="logo" class="col-sm-2 control-label">logo</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= logo %>" name="logo" id="logo"
                                        placeholder="logo">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="price" class="col-sm-2 control-label">价格</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= price %>" name="price" id="price"
                                        placeholder="价格">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="info" class="col-sm-2 control-label">详情</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= info %>" name="info" id="info"
                                        placeholder="详情">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="stock" class="col-sm-2 control-label">库存</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= stock %>" name="stock" id="stock"
                                        placeholder="库存">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="sales" class="col-sm-2 control-label">销量</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= sales %>" name="sales" id="sales"
                                        placeholder="销量" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="discount" class="col-sm-2 control-label">折扣</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= discount %>" name="discount"
                                        id="discount" placeholder="折扣">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="grade" class="col-sm-2 control-label">评分</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="<%= grade %>" name="grade" id="grade"
                                        placeholder="评分" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="box-footer">
                            <div class="form-group">
                                <label for="grade" class="col-sm-2 control-label"></label>
                                <div class="col-sm-10">
                                    <button type="submit" class="btn btn-info">提交</button>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <!-- /.box-footer -->
                    </form>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->

        <!-- Main Footer -->

        <%- include("./footer.ejs") %>

        <!-- Control Sidebar -->
        <%- include("./siderbar.ejs") %>
        <!-- /.control-sidebar -->
        <!-- Add the sidebar's background. This div must be placed
  immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
    </div>
    <!-- ./wrapper -->

    <!-- REQUIRED JS SCRIPTS -->

    <!-- jQuery 3 -->
    <script src="/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap 3.3.7 -->
    <script src="/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- AdminLTE App -->
    <script src="/dist/js/adminlte.min.js"></script>
    <!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. -->
</body>

</html>